package com.lms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lms.common.pure.entity.IBaseEntity;
import lombok.Data;

import java.io.Serializable;

@Data
public class SysRoleMenu implements IBaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long menuId;
    private Long roleId;

    @Override
    public Serializable getKey() {
        return id;
    }
}
